import http from '../http/index';

export function apiUpload(data: any, config?: any) {
  return http({
    ...(config || {}),
    method: 'POST',
    url: '/api/data/upload',
    data,
  });
}
